package com.meilele.biz.guoziyang;

import com.meilele.dao.guoziyang.SeclaberMapper;
import com.meilele.entity.guoziyang.Seclaber;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.annotation.Resources;
import java.util.List;

@Service
public class SeclaberBusiness {

    @Resource
    private SeclaberMapper seclaberMapper;

    public List<Seclaber> findAll(){
        return  seclaberMapper.selectAlly();
    }

    public List<Seclaber> findById(int id ){
        System.out.print(seclaberMapper.findByid(id));
        return  seclaberMapper.findByid(id);
    }
}
